package client;

import java.io.IOException;

import Gui.MainScreen;
/**
 * this class runing the main thred
 * @author Ron Shenkerman
 * @author Gabi Revah
 * @author Aviad Almog
 * @author Ivan Onyshchenko
 */
public class LibaryMain {
	
	public static ClientHendler chat;
	public static int port = 5555;  //The port number
	public static String host="localhost";
	/**
	 * this is the main clinet thred 
	 * @param get args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {
		
		try {
			for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager
					.getInstalledLookAndFeels()) {
				if ("Nimbus".equals(info.getName())) {
					javax.swing.UIManager.setLookAndFeel(info.getClassName());
					break;
				}
			}
		} catch (Exception e) {}

				MainScreen main = new MainScreen();
				MainScreen.BuildScreen();
				
			}
		
		

}

	